How to fetch data server-side in the latest Next.js? Tried getStaticProps but...
I am working on a Django Rest Framework with Next.js, and I am getting stuck with fetching data from the API. I have data in this url http://127.0.0.1:8000/api/campaigns and when I visit the url I see...
View ArticleDev Please help the C# RestSharp POST not working [closed]
Please help the below C# code with RestSharp POST not working is there something missing below URL works well with PostMan. Debugging info added. payloadStr = """ {"data": {"query": "","page":...
View ArticleBasic HTTP and Bearer Token Authentication
I am currently developing a REST-API which is HTTP-Basic protected for the development environment. As the real authentication is done via a token, I'm still trying to figure out, how to send two...
View Articleto fetch file link attached to the record in salesforce using PA
I want to fetch a downloadable link of files attached to the employee record in salesforce using Power automate flow but I'm using this link:...
View ArticleHow to upload file to Google drive with Postman using multipart?
How could I upload file to Google Drive using Google Drive API with Postman?I also want to set file's name and parent directory.What have I done:I try to upload file with following properties:But I get...
View ArticleSpringboot Database JDBC URL [Connecting through datasource 'HikariDataSource...
I am learning Springboot and wanted to make an application that lets me use postgres to make simple APIs. I have been trying to establish the connection to the JDBC to be able to create a table,...
View ArticleProtect RESTful calls to register users from mobile
Users sign up in my platform from the mobile app (Android and iOS). Once they have completed a form, I do a RESTful call to my server with the username and password and an API...
View Article"Login with Facebook"+ custom API - for iOS app
Let's say I have an iOS app which rely on a custom REST API for things such as account management (register, login, password reset, get/set user-related data).Let's say I would like to add a...
View ArticleRESTful framework class field is safe or unsafe
jdk1.8 resin application use RESTful framework is as follows,Can only be executed through http://x.x.x.x/ws/example/subpath1There is no other way to call Subpath1ResourceSo will the HashMap or String...
View ArticleUploading file from Flex to WCF REST Stream issues (how to decode multipart...
The system is a Flex application communicating with a WCF REST web service. I am trying to upload a file from the Flex application to the server and am running into some issues I'm hoping someone here...
View ArticleStrapi v5: How to associate a user with a Todo item during creation?
Here's my Todo model structure:Todo- title (Text)- description (Text)- completed (Boolean)- users_permissions_user (Relation with User from users-permissions)User- username (Text)- email (Email)-...
View ArticleREST API built for mobile apps
I am not sure how to address the question properly, but I know I am confused here. I do not meant you to code nor give scripts for me, all I am asking is guidance.I have setup an API (framework built...
View ArticleAdding REST API to existing PHP web site
I'm using some open source code to launch a game. The game is old, around 11 yrs. It is a tick based web based game. It's written in PHP and using MySQL. Basically I want to port this game to iOS,...
View ArticleAPI returning text/html while it should return JSON
I am new to web service development. I didn't use any framework. I did it by scratch. I wanted to create an RESTFUL API service which I want to use for my iOS application. But I am getting some error...
View ArticleSpotify API always returns 429 on certain endpoints
Certain endpoints on Spotify audiobooks API always return a 429, regardless of how many calls I've made. E.g....
View ArticleHow to send the push notification in iOS
I'm developing and news app in iOS so,I have prepared the restful service in PHP for iOS application.Now I have to integrated the push notification features in my application, I have the developer...
View ArticleHow to check update API rest
My iOS App call a API with Restful webservice API. Then I used data and saved JSON data on my disk.On next time open app, I want to check API, if having update, the app will call and be receive data,...
View ArticleDevolutions Server (Remote Desktop Manager) REST API [closed]
I want to add data using the REST API within the Devolutions server. I want to retrieve the server information (username and server password) of the customer on WHMCS and send this data to the...
View ArticlePostman and content-length
From my laptop I initiated a POST request to my web server. The HTTP POST request looks something like this (when seen via POSTMAN console)POST /api/fwupgrade HTTP/1.1User-Agent:...
View Articleadd parameter to an http header using java webservice
i have this http header : HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked Date: Tue, 15 Mar 2016 17:08:29 GMTAnd what i want is to add...
View Article