Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- testApi(){
- const data = {
- "status" : 3,
- "do_image" : "tmp/1575882104.jpeg",
- "delivery_image" : "tmp/1575882104.jpeg",
- "cash_received" : 2000
- };
- let url = "http://dev.superagen.id/api/v3/order/grosir/cash-received/2194";
- const options = {
- method: 'POST',
- headers: { 'Authorization': 'Bearer token' },
- data: data,
- url,
- };
- axios(options);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement