Skip to content

Instantly share code, notes, and snippets.

@alihesari
Created February 16, 2020 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alihesari/8a55f9c5b2b2cf16d4977b8c0908a79d to your computer and use it in GitHub Desktop.
Save alihesari/8a55f9c5b2b2cf16d4977b8c0908a79d to your computer and use it in GitHub Desktop.
Shenase.ir - Create Bill
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