antwebes / photo-rest-bundle
Photo Rest Bundle for symfony2
Installs: 4 446
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- doctrine/orm: >=2.2.3,<2.5-dev
- symfony/framework-bundle: >=2.1
Requires (Dev)
- symfony/framework-bundle: >=2.1
Suggests
- doctrine/doctrine-bundle: dev-master
This package is auto-updated.
Last update: 2024-10-29 03:58:41 UTC
README
Documentation:
Doc about bundle: https://github.com/antwebes/PhotoRestBundle/blob/master/Doc/index.md
bundle to manage photo with rest
Codes:
'Unable to find Photo entity', '42', '404'
'Access denied', '44', '403'
'You have already voted this photo ', '46', '409'
Upload image by curl
curl -v -H "Accept: application/json" -H "Content-Type: multipart/form-data" -X POST -F "title=holaaa" -F "image=@/home/pc/Escritorio/torrente222.jpg" http://url/api/ant/photo?access_token={token}
update photo path url if use_full_path in server_base_url parameter