Created
February 16, 2020 14:17
-
-
Save alihesari/8a55f9c5b2b2cf16d4977b8c0908a79d to your computer and use it in GitHub Desktop.
Shenase.ir - Create Bill
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require('axios'); | |
// Send a POST request | |
axios({ | |
method: 'post', | |
url: 'http://shenase.net/api/bills/create', | |
data: { | |
username: 'ali', | |
password: 'ali12@34', | |
billType: 0, | |
receiverName: 'محمد', | |
receiverFamily: 'علیپور', | |
receiverMobile: '09121112233', | |
title: 'قبض خدمات', | |
price: 900000, | |
billDescription: 'توضیحات...', | |
isWageByCreator: false, | |
receiveType: 0, | |
billGroupId: 4 | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment