Giter Site home page Giter Site logo

ext-apfd's People

Contributors

bjori avatar m6w6 avatar remicollet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ext-apfd's Issues

PHP 8.2 Support

Hey mike, i've been using this extension for a long time now for PHP 7 to make my Restful API handle form-data PUT and PATCH requests.
I just migrated my project to PHP 8.2 and it seems that the extension does not support PHP ^8.2
Is that right? do you plan to add support any time soon?

Php7 support

Hello mike,

Do you planning to support php7? Or is it already compatible with 7?

Problems when sending a PATCH request without a webserver

Hello,
I really like this extension, because it allows me to send PATCH/ PUT/ ... requests with a form-data body.
I'm using the Slim Framework to handle all requests.
It works great when I send a normal request with eg. Postman, where the $_POST variable gets populated correctly.

However for my unit tests i'm using PHPUnit and have to create the reqests manually with this method:
$req = Request::createFromEnvironment($env)->withParsedBody($body)
It is also described here: http://www.slimframework.com/docs/v3/cookbook/environment.html

The creation works good and the the body seems to include all the form-data parameters, but when i later try to get the parameters from the $_POST variable, it is empty.
Honestly I'm not sure if it's a problem with the requests creation or the parsing of the requests later when its submitted.
Maybe you can look at it and find the reason why it does not work. Thanks

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.