Coder Social home page Coder Social logo

scannerupload's Introduction

scannerupload

Demo of the HTTP Post for the scanner data upload functionality.

Prerequisites

Rest-Client: https://code.google.com/p/rest-client/

Downloadpage: http://code.fosshub.com/WizToolsorg-RESTClient/downloads (Download the Jar of Version 3.4 GUI Edition)

Project is written in VS2013 and makes use of asp.net Web API.

Setup & Use

  • Clone or Download the Repository, run it in Visual Studio 2013.
  • Your Browser should open an you get a 404 Error page (thats OK! I didnt define any index page)
  • Start Rest-Client and load the TestRequest from /DemoData/ Directory. (Check if the url from the running application corresponds with the one in the template)
  • When you send the Request you should get a Status Code 200 OK.
  • If you change the Username in the Auth tab you should get a Status Code 401 Unauthorized.
  • If you remove or rename the Cart from the JSON message under the Body tab you should get a Status Code 400 Bad Request.

If you open the page http://localhost:6251/api/scanner in your browser, you should see the last message sent with the user credentials attached at the end as XML Message.

scannerupload's People

Contributors

miikeat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.