Skip to content

WingsOfAltair/CarrierAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

CarrierAPI

A basic Multi-Carrier backend.

Instructions how to host API:

1- Install IIS 10.0: https://www.lansweeper.com/knowledgebase/how-to-install-iis/.

Make sure you (tick) add Windows Communication Foundation support

2- Setup the WCF API(s) in IIS: https://www.youtube.com/watch?v=g-w1GvkwErk.

This includes both the CarrierAPI (port 80), CarrierAPIXML (port 82) and the LoggingService (port 81) as the former two depend on the latter.

Make sure all services are running simultaneously in IIS on different ports (the mentioned ports).

3- Download & Install Postman

Inside Postman:

1- Click on Hamburger Menu icon in the top left corner

2- Go to File

3- Click on Import

4- Pick Raw text tab

5- Paste the following to the rich text field and press Continue then Import and then Send:

curl --location --request POST 'http://localhost/CarrierAPI.svc/PerformShipping'
--header 'Content-Type: application/json'
--data-raw '{ "serviceUsed":1, "serviceID":3, "width":1, "height":1, "length":0.4, "weight":1 }'

About

A basic Multi-Carrier backend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages