I have REST API written in php, i want to test it with phpunit. I wrote test like this, it works but response body was empty. I tested it with fiddler, it se
Let's say I have an API where you can get users: GET /RESTAPI/user/ And you can delete users by: DELETE /RESTAPI/user/123 What is the RESTful convention on wh
I know there are many similar questions about this issue and most of them are already answered, but I am a beginner on this. This code is a code from a YouTube
I am trying to POST some JSON data to RESTful spring controller. But getting "400 Bad Request" as response status. Giving below code from the key configuration
In my react app i am using axios to perform the REST api requests. But it's unable to send the Authorization header with the request. Here is my code: tokenP
I am making a REST API that requires uploading files. For testing purposes, I am uploading files through postman, but I don't know how to access the files on se
I am looking for an ethereum api to get the N latest blocks. I will use javascript (react) to make the requests. I have looked into https://etherscan.io/apis#b
I am working on a restful service using flask-restful, and I want to leverage both factory pattern and blueprint in my project. in app/__init__.py I have a crea
I'm developing a RESTful service using the spring framework. This service has a few different controllers. Some of the controllers allow the user to query data
I have created a Restful Web Service in ASP.NET and would like to use it in my own Qt project. I can post to and get the data from my Web Service in the SoapUi
Disclaimer: I'm completely new to Google Cloud Functions and serverless functions in general. I've set up a basic Google Cloud Function, set it to HTTPS trigger
I want to NOT serialize anything. I just want to return what is equivalent to HttpResponse(blah)
I am creating a banking application. Currently, there is one primary service, the transaction service. This service allows getting transactions by id, and creat
I'm sending POST request by postman with header application/json and the body: { "name": "user" } And when I try to get this parameter from the request obj
In an application I am developing RESTful API and we want the client to send data as JSON. Part of this application requires the client to upload a file (usuall
I have an HTML page with a button on it. When I click on that button, I need to call a REST Web Service API. I tried searching online everywhere. No clue whatso
I have an HTML page with a button on it. When I click on that button, I need to call a REST Web Service API. I tried searching online everywhere. No clue whatso
I've read about Fake json-server and I'd like to watch more than 1 file. In the instructions it is listed --watch, -w Watch file(s) but I'm not able to
I'm building a server that allows clients to store objects. Those objects are fully constructed at client side, complete with object IDs that are permanent for
I don't understand how to generate the secret that is used for the Bitbucket Server REST API using the client credential grant type. For example: $ curl -X PO