Error 403 using TIdHTTP for a GET request in Delphi RIO - Same url works in...
I am having a problem.I try various possible solutions, but something is still wrong in my code, and I can't figure out what is it.Function:function HTTPRestApiGet(var HTTP: TIdHTTP; necesitaSSL:...
View ArticleHow to send a POST request to an EC2 instance?
I have created a simple API in node and deployed it on an ubuntu based EC2 instance. I also installed node js on my EC2. I've been trying to send a POST request from POSTMAN, with a JSON file. My API...
View ArticleHow do you set in Thunder Client the access-token retrieved from collection...
I have a collection in Thunder Client. In the collection settings I setup the authentication, with Oauth 2 client credentials grant, which generates a token.The documentation describes that token is...
View Article.Net5 Core API: In Post action, Dictionary object is not received in...
I have two actions[HttpPost("MyFromForm")]public async Task<IActionResult> MyFromForm([FromForm] RequestExample request){ return new OkObjectResult(request);}[HttpPost("MyFromBody")]public async...
View ArticleSkyDrive API file upload using REST
I'm testing SkyDrive's API using the following code:Dim webRequest As HttpWebRequest = DirectCast(HttpWebRequest.Create("https://apis.live.net/v5.0/me/skydrive/files?access_token=" &...
View ArticlePassing JSON object to untyped REST service in SOA BPEL
I am trying to pass a JSON object to an untyped rest service by assigning a JSON payload to the request variable.First of all assigning a JSON string...
View ArticleReproduce sharepoint file version history via rest api
Is there a way to reproduce the information about the version history of a file in sharepoint via api, which information should I use?When I follow this apiI get overwhelming xml with a lot of...
View ArticleAPI Platform Did not show First Name And Last Name Upon normalizationContext...
I am new to API Platform and I have some problem with normalizationContext and denormalizationContext for my User Entity on the API platform. When I added the normalizationContext and...
View ArticleDjango Rest Framework {"detail":"Authentication credentials were not provided."}
I have tried to add authentication to my Rest API using OAuth Toolkit. I get to the login page and enter in my username and password then redirect to my api. I then get a message...
View ArticleWhy am I getting this 401 unauthorized error while using Hammock with the...
Here is the code that I am using:public static void FetchXML(){ _url = new Uri("http://api.tumblr.com/v2/blog/" + _username...
View ArticleWireMock on Android: empty list of received requests
I'm trying to integrate WireMock to my Android autotests based on JUnit/Espresso/KaspressoI don't need to mock request, I'd like just to verify outgoing requestsbuild.gradle:androidTestImplementation...
View ArticleREST API design for content with a multi-part ID [closed]
Trying to design an API where the content when referenced has multiple parts that make up its ID instead of just one singular ID due to it possible being in different areas that are segmented. Any...
View ArticleSymfony 4.2 API => Empty Collections with groups
beginner here.I'm trying for my first api to use groups and to serialize with those groups, but on api route call, my collections properties are empty.I'm also trying to do it without api platform from...
View ArticleHow to download MODIS products using REST API
I am a student doing research using MODIS products. I would like to download MOD07_L2 products. I made url with reference to this site and called it using the requests module, but MOD07_L2 did not...
View ArticleWhat is the difference between x-amz-apigw-id , x-amzn-requestid ,...
How these ids differ ?x-amz-apigw-id , x-amzn-requestid , x-amzn-trace-idWhen & Who assign them ?Where each of them will be useful ?If I want to use a correlationId which one would be useful ?
View ArticleBase URL for Spring Boot and handle / as well
I would like to set the context path for the Spring Boot application, and the following property can achieve that.server.contextPath=/apiHowever, I would like to redirect / to /api. Currently, I am...
View ArticleHow to send authentication header in ASP.Net for set of web request
I am developing ASP.net application which consumes REST services with ASP.Net Web API. I am trying to use Basic authentication for my website. I plan to use it with SSL once I complete Basic...
View ArticleMediaFire Rest API session signature SHA1?
I'm trying to connect to MediaFire using their API.According to the documen the get_session_token request one of the required parameters is:signature: a SHA1-hashed string that contains the following 4...
View ArticleRest API design with multiple unique ids
Currently, we are developing an API for our system and there are some resources that may have different kinds of identifiers.For example, there is a resource called orders, which may have an unique...
View ArticleWhat is the recommended project structure for spring boot rest projects?...
I'm a beginner with spring boot. I'm involved in the beginning of a project where we would build rest services using spring boot. Could you please advise the recommended directory structure to follow...
View Article