Look at amplify.js (http://amplifyjs.com/). This library provides a convenient wrapper around the invocation of REST services and has TypeScript definition filed to facilitate easy consumption from TypeScript.
Consume Webservice using typescript
-
22-07-2023 - |
Vra
I am attempting to use typescript to consume a RESTful webservice, and am having a few issues understanding how to write the call.
I want to consume this call for the Reddit API:
POST /api/register
How can I write that post method using Typescript?
Oplossing
Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow