gencebay / httplive Goto Github PK
View Code? Open in Web Editor NEWHTTP Request & Response Service, Mock HTTP
License: MIT License
HTTP Request & Response Service, Mock HTTP
License: MIT License
at least easy for front-end developers.
The current release is dynamically linked against GNU libc so it doesn't work in distros that use a different libc.
When I go get github.com/gencebay/httplive, it failed with:
# github.com/gencebay/httplive/lib
go/src/github.com/gencebay/httplive/lib/controller.go:106:13: c.ShouldBindJSON undefined (type
*gin.Context has no field or method ShouldBindJSON)
go/src/github.com/gencebay/httplive/lib/controller.go:122:13: c.ShouldBindJSON undefined (type
*gin.Context has no field or method ShouldBindJSON)
hey guys
I'm trying to get httplive but something goes wrong:
$ go get -u github.com/gencebay/httplive
# github.com/gencebay/httplive/lib
../go/src/github.com/gencebay/httplive/lib/utils.go:91: f.Size undefined (type *multipart.FileHeader has no field or method Size)
There are couple of additional HTTP methods not covered in this application.
https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods
Example of that is CORS under Angular 4/5 web app which requires OPTIONS request to make POST.
more info here:
https://en.wikipedia.org/wiki/Cross-origin_resource_sharing
thank u.
API sometimes depend on specific headers. It would be awesome to customize the request headers from the interface.
More info:
https://en.wikipedia.org/wiki/List_of_HTTP_header_fields
# ./httplive_linux_amd64
open /home/travis/gopath/src/github.com/gencebay/httplive/httplive.db: no such file or directory
The editor is not autosaving when making changes to the response json. I can create, edit, and delete endpoints. I just can't change the response body.
There are no errors in the console, but there are a couple of warnings.
jsoneditor.min.js:30 Unknown option "enableBasicAutocompletion". This option will be ignored
jsoneditor.min.js:30 Unknown option "savingProgress". This option will be ignored
jsoneditor.min.js:30 Unknown option "enableBasicAutocompletion". This option will be ignored
jsoneditor.min.js:30 Unknown option "savingProgress". This option will be ignored
I can post the full stack trace if needed.
go version go1.9.2 darwin/amd64
httplive version 0.0.1
I'm starting to dig into the code, but just wanted to see if there was anything familiar with this problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.