rajaongkir | Advanced RajaOngkir API with Guzzle | REST library
kandi X-RAY | rajaongkir Summary
kandi X-RAY | rajaongkir Summary
Advanced Rajaongkir API with Guzzle. Support for all types of accounts. PRO, BASIC and STARTER TESTED.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Makes API request .
- Get an international cost
- Get cost .
- Get Workbill
- Get international origins
- Get Subdist
- Get International Destination
- Get Subdist
- Get Current Currency
- Format errors .
rajaongkir Key Features
rajaongkir Examples and Code Snippets
Community Discussions
Trending Discussions on rajaongkir
QUESTION
I tried to get data from this api https://api.rajaongkir.com/starter/province and api key, i already put my api key correctly when requested the data. but the response was Invalid key.
here's my code :
here's the response
EDITi don't understand, it's ok if i use postman
...ANSWER
Answered 2021-Aug-02 at 12:25What does not work is the prefligth request with 'OPTIONS' HTTP type.
This request is done directly by you browser. A solution is to do the request on a NoeJS server and send back the data to the client.
You should not give your API key to the client anyway.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rajaongkir
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page