web services

Drupal 7 Creating A Custom Web Service Module

The follwing is an example of creating a custom drupal 7  web service module , for the Services module.

Why I made this:  the reaso i made this is for the life of me i could not figure out how to
attach a file to a node when creating one with services (but not posting via endpoint/node/nodeid/attach_file ) .
 after you created a file with :

Session Authentication (X-CSRF-Token = token string )
after posting


to endpoint/user/login.json

Posting to endpoint/file