code: def compose_post(apikey, resize, rotation, noexif):
      
      check_rotation(rotation)
      check_resize(resize)
  
      post_data = {
              'formatliste': ('', 'og'),
              'userdrehung': ('', rotation),
              'apikey': ('', apikey)
              }
  
      if resize and 'x' in resize:
          width, height = [ x.strip() for x in resize.split('x')]
          post_data['udefb'] = ('', width)
          post_data['udefh'] = ('', height)
      elif resize and '%' in resize:
          precentage = resize.strip().strip('%')
          post_data['udefp'] = precentage
  
      if noexif:
          post_data['noexif'] = ('', '')
  
      return post_data
docs: composes basic post requests