Click here to Skip to main content
15,908,112 members
Everything / RestAPI

RestAPI

RestAPI

Great Reads

by Farzad Niknam B
Web app creation using .NET 7.0 and ASP.NET Core
by Ramv_OT
This article describes how to use the OpenText Messaging Fax REST API to submit a request to send a fax, check fax status and receive faxes.
by Pete_Oliver
This article provides a step-by-step guide on configuring OTDS 10.5 Patch 6 as an OAuth 2.0 Authorization Server. It also walks through an example scenario of authorizing access to a RESTful API using the OAuth 2.0 Resource Owner Password Credentials Grant.

Latest Articles

by Farzad Niknam B
Web app creation using .NET 7.0 and ASP.NET Core
by Pete_Oliver
This article provides a step-by-step guide on configuring OTDS 10.5 Patch 6 as an OAuth 2.0 Authorization Server. It also walks through an example scenario of authorizing access to a RESTful API using the OAuth 2.0 Resource Owner Password Credentials Grant.
by Ramv_OT
This article describes how to use the OpenText Messaging Fax REST API to submit a request to send a fax, check fax status and receive faxes.

All Articles

Sort by Score

RestAPI 

19 Aug 2023 by Farzad Niknam B
Web app creation using .NET 7.0 and ASP.NET Core
17 Jul 2023 by Andre Oosthuizen
I have answered this same question from you a while back at - How to connect stock items on wordpress ?[^] by suggesting that you use Quote: Square for WooCommerce .
10 Dec 2022 by CodeGuru84
If you're using RestSharp in Specflow, you can make the first API call and store the ID in a variable. Then, you can use that variable in the second API call. Here's an example of how you might do this: // First API call to get the ID var...
28 Feb 2023 by Ravi G 2023
Hi, I am trying to export a power bi embed report to PDF in a ASP.NET core MVC Application using Power BI REST API. I followed the microsoft documentation: Export Power BI embedded analytics reports API - Power BI | Microsoft Learn[^] Below...
12 Jun 2023 by Ramv_OT
This article describes how to use the OpenText Messaging Fax REST API to submit a request to send a fax, check fax status and receive faxes.
24 Jan 2023 by tesc
Holy cow who would have thought it was that sensitive but apprently by using the integer version for POST it worked!!! Dim client = New RestClient("https://skill-extraction.p.rapidapi.com/skill_extraction") Dim request As RestRequest =...
16 Sep 2022 by ajay.raju531
Hi, I am getting pdf from httpwebresponse, I have copied response stream to memory stream and converting stream data to base64 string using bytes array. and saving the base64 string data in database, if pdf contains plain text it is working...
19 Oct 2022 by Virendra S from Bangalore, Karnataka
I am returning a 407 http status code from one endpoint, in postman I can see the 407Proxy Authentication Required response, but in my api swaggerui instead of 407 it is showing as Code Details Undocumented Failed to fetch. To cross check...
19 Oct 2022 by Richard Deeming
Swagger does not attempt to analyze your code to determine every possible response code. You need to tell it which response codes your action can return: Get started with Swashbuckle and ASP.NET Core | Microsoft Learn[^] Eg: [HttpGet]...
30 Oct 2022 by lakshanlaki 551
A token indicates which client_id is performing the API call. This token is retrieved using Authentication Service by supplying client_id and API password as follow: POST /connect/token HTTP/1.1 Host:www.xxxxxx.com Content-Type:...
30 Oct 2022 by Graeme_Grant
This is a Json response. You need to use a Json deserializer like Newtonsoft.Json or System.Text.Json APIs. If you are using framework 4.8 or older, or DotNetCore 2.1 or older, then you need to use Newtonsoft.Json. If you are using DotNetCore...
24 Nov 2022 by ajay.raju531
Hi, How to send form-data using HttpWebRequest post method. Please check my code and advise me how to set request.ContentLength and pass formData to request. for "x-www-form-urlencoded" content-type, I have used like. Stream requestStream =...
24 Nov 2022 by Richard Deeming
HttpWebRequest is an extremely low-level API, so you have to build the multipart/form-data request yourself. There's an example of how to do that in this SO thread[^] - essentially: string boundary = "---------------------------" +...
10 Dec 2022 by DeePatel25
I have first API call which gets me ID and once I have got the ID from this api , only then I need to make the second api get call (/api//) . It must happen in the series and not parallelly. How can I do this in RestSharp Specflow in Visual...
18 Jan 2023 by Andre Oosthuizen
From what I could gather on Google, it looks like the s is removed from HTTPS as it runs on localhost. I also found that you need to enter the actual values for your login directly to submit the URI, something like - Dim request As...
24 Jan 2023 by Graeme_Grant
Your "verb-type" case is different between the two versions: * VB you have "Method.Post" * C# you have "Method.POST" That is all that I can see...
2 Feb 2023 by Luis M. Rojas
I have this in c# string jsonResultado = await Clases.AccesoDatos.JsonData("SELECT * FROM vistatransacciones for json path, ROOT('product.json')"); where method jsonData is: public static async Task JsonData(string SQL) { ...
12 Feb 2023 by OriginalGriff
That code doesn't compile, much less run: request2.AddHeader("Authorization", Mybearer" & MyToken) ^ ^ ? ? You have an unmatched double quote in there. If it...
28 Feb 2023 by Andre Oosthuizen
As per my message from yesterday, you need to do your research first. There is absolutely nothing wrong with your code when it returns - Hobbies [ 'running', 'coding', 'camping' ] Why, just paste the GET THE DATA FROM ARRAY SHOWN AT -...
2 Mar 2023 by OriginalGriff
It means that whatever version of .NET you built the project for is not installed or supported on the web server. Talk to the tech support people at your hosting service - they can tell you what versions they support or make recommendations as...
2 Mar 2023 by RickZeeland
In addition to Griffs advice, if you are self-hosting IIS you probably need to install the ASP.NET Core Runtime 5 Hosting Bundle: Download .NET 5.0 (Linux, macOS, and Windows)[^] Or maybe you can try this: publish-net-core-5-0-api-to-iis[^] ...
5 Apr 2023 by Gcobani Mkontwana
Hi Team How do i pass this problem? basically i am creating a basic authentication in php using end point. I am using wampp server to test this under the folder www the file is there and cacert.perm both reside. When i called localhost:port and...
14 Jun 2023 by Pete_Oliver
This article provides a step-by-step guide on configuring OTDS 10.5 Patch 6 as an OAuth 2.0 Authorization Server. It also walks through an example scenario of authorizing access to a RESTful API using the OAuth 2.0 Resource Owner Password Credentials Grant.
17 Jul 2023 by OriginalGriff
Please don't repost if your question does not appear immediately: all of these went to moderation and required a human being to review them for publication. In order to prevent you being kicked off as a spammer, both had to be accepted, and then...
17 Jul 2023 by Richard Deeming
If it's an inventory software system that you've written, then you need to write some code to connect it to the API. Since we can't see your code, we can't tell you how to do that beyond pointing you to the manuals for whatever programming...
12 Feb 2023 by Member 12760369
When sending the request sending a json I get the error " Can't check the token Validity". Previously I have obtained the token which is stored in a variable. The statusCode: OK {200}. What I observe with the error that is displayed is that the...
29 Dec 2023 by Member 14760154
I Have a problem with my API i have an API with format API routes look like this localhost:8081/getdate/param1/:param1/param2/:param2 it was successfully when i just use a paramater with string, but the problem is when parameter should be...
31 Dec 2023 by JohnKeane
I understand you're encountering an issue with API parameters containing special characters like "/". Here's how to solve it: 1. URL-Encode the Parameter: Before constructing the request URL, encode the "search" parameter value using a URL...
12 Feb 2023 by Member 12760369
System.Net.ServicePointManager...
17 Jul 2023 by the wolf 2023
Hello there guys, may you please help me? I have no idea how to connect WooCommerce REST API to software that's working on a computer in the real-time store. To be more precise, there is software on the computer in the store and when a client...
12 Feb 2023 by Member 12760369
I am trying to get a token from a REST API. For this I use HttpClient. However, when reviewing the url that is sent in the request, it is automatically changed and removes the s from the https, leaving it as http and additionally places :10001 to...
24 Jan 2023 by tesc
I have a API call that works with C# but when ported to VB.net is returns a "Cannot send a content-body with this verb-type." in the response.content This same exact call works with C# in with no problem. Is it a UTF encoding issue? I notice...
22 Feb 2023 by salam_verdim_alana_panyatkasi_olana
We have legacy project that it use curren soap web-service however we migrate it restful api. I have a task that I call soap web service like using client tool which soap webservice produce and my restful web service consume it's data. can anyone...
28 Feb 2023 by Gcobani Mkontwana
Hi Team I am having a problem with my get request with nodejs, what is required as instruction is " write a program to perform a GET request on the route https://coderbyte.com/api/challenges/json/rest-get-simple and then print to the console the...
2 Mar 2023 by huynhminh97
I have a Rest API using NET5 and I want to host it in IIS. But after created new website in IIS, it is error HTTP Error 500.30 - ASP.NET Core app failed to start[^] when I run What I have tried: I open logs file and see the error...
13 Apr 2023 by Member 10052018
I have created an app that uses RestSharp to interact with a REST API. The same exact code that run perfectly well on my PC, returns HTML on another PC. Thank you in advanced for any insight you might have. What I have tried: Things I have...