Skip to content

Latest commit

 

History

History
72 lines (59 loc) · 1.56 KB

requests.rest

File metadata and controls

72 lines (59 loc) · 1.56 KB

POST http://localhost:3000/api/register Content-Type: application/json

{"username":"shashi","email":"[email protected]","password":"qwerty"}

###

POST http://localhost:3000/api/login Content-Type: application/json

{"email":"[email protected]","password":"qwerty"}

###

GET http://localhost:3000/logout

###

GET http://localhost:3000/api/validateJson

###

POST http://localhost:3000/api/validateJson Content-Type: application/json

{

"username": "omkar", "additionalNotesObject": {}, "invoiceDetailsObject": { "Invoice No.": "A0001", "Invoice Date": "2022-02-12" }, "termsAndConditionsObject": {}, "tableArray": [

[
"#", "Item/Item Description", "Quantity", "Rate(₹)", "Amount(₹)"

], [ 1, "item 1", "1", "10", "10.00" ]

], "actualInvoiceText": "Invoice", "invoiceMoreDetailsObject": {}, "toDetailsObject": {

"toTitle": "To", "toName": "Aniket' Shinde", "toAddress": "Maharashtra Nagar, Mankhurd", "toCity": "Navi Mumbai", "toState": "Maharashtra", "toCountry": "India", "toZip": "400078"

}, "logoImageUrl": {

"logoUrl": "http://localhost:3000/assets/images/image-placeholder1.png"

}, "totalTaxObject": {

"Discount(₹)": "-₹ 0", "subTotal": "₹ 10.00", "Total": "₹ 10.00"

}, "bankDetailsObject": {}, "fromDetailsObject": {

"fromTitle": "From", "fromName": "omkar tours", "fromAddress": "shivprerna chwal, maharashtra nagar,", "fromCity": "Mumbai", "fromState": "Maharashtra", "fromCountry": "India", "fromZip": "400088"

}

}